<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS精灵</title>
    <style>
        .people {
            position: absolute;
            width: 42px;
            height: 38px;
            border: 1px solid #2122;
            background-image: url(../images/sprites.png);
            background-position: -61px -653px;
        }

        .new {
            position: absolute;
            top: 80px;

            width: 34px;
            height: 33px;
            border: 1px solid #2122;
            background-image: url(../images/sprites.png);
            background-position: 3px -2608px;
        }
    </style>
</head>

<body>
    <i class="people"></i>
    <i class="new"></i>
</body>

</html>